package com.ruoyi.exam.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 用户订单信息对象 exam_user_order
 * 
 * @author wky
 * @date 2024-09-19
 */
@Schema(description = "用户订单信息对象")
public class ExamUserOrder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    public static final Long SINGLE_ANALYZE = Long.valueOf(0L);

    public static final Long AI_ANALYZE = Long.valueOf(1L);
    /** $column.columnComment */
    @Schema(title = "$column.columnComment")
    private Long userId;

    /** $column.columnComment */
    @Schema(title = "$column.columnComment")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long orderId;

    /** $column.columnComment */
    @Schema(title = "$column.columnComment")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long orderType;

    private Long batchId;

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderType(Long orderType) {
        this.orderType = orderType;
    }

    public Long getOrderType() {
        return orderType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("orderId", getOrderId())
                .append("orderType", getOrderType())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .toString();
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public static Long getSingleAnalyze() {
        return SINGLE_ANALYZE;
    }

    public static Long getAiAnalyze() {
        return AI_ANALYZE;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }
}
